package com.zmn.oms.dubbo.dto.zmn.order.shop;

import com.zmn.oms.common.dto.OmsBaseOperator;
import com.zmn.oms.dubbo.dto.zmn.serviceitem.OrderServiceItemDIO;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 类描述：
 *
 * @author LiangHailong
 * @date 2019/12/03 11:09
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class UpdateQuotationOrderProductDIO extends OmsBaseOperator implements Serializable {

    /**
     * 后台产品ID
     */
    @NotNull
    private Integer productId;

    @ApiModelProperty("价格表id")
    private Integer tariffId;

    /**
     * 品牌ID
     */
    private Integer brandId;

    /**
     * 优惠总金额
     */
    private Integer discountAmount;

    /**
     * 城市经理优惠
     */
    private Integer cityManageDiscountAmount;

    /**
     * 小程序议价标示 2、为议价价格报价清单
     */
    private Integer negotiatedPriceFlag;

    /**
     * 订单服务项
     */
    @NotNull
    private List<OrderServiceItemDIO> orderServiceItems;

    /**
     * 故障项报价ID
     */
    private Integer quotationId;

    /**
     * userId
     */
    private Long userId;
}
